package com.project.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
@Data
@TableName(value = "cms_order_logistics")
@Table(name = "cms_order_logistics", comment = "物流")
public class CmsOrderLogistics implements Serializable {
    /**
     * 物流ID
     */
    @TableId
    @Column(type= MySqlTypeConstant.BIGINT, comment = "物流ID", length = 11, isKey = true, isAutoIncrement = true,isNull = false)
    private Long logisticId;

    /**
     * 订单ID
     */
    @Column(comment = "订单ID")
    private Long productOrderId;

    /**
     * 站点
     */
    @Column(comment = "站点")
    private String position;

    /**
     * 联系电话
     */
    @Column(comment = "联系电话")
    private String phone;

    /**
     * 物流时间
     */
    @Column(comment = "物流时间", type = MySqlTypeConstant.DATETIME)
    private Date logisticsTime;

    /**
     * 物流信息
     */
    @Column(comment = "物流信息")
    private String logisticsInfo;

    private static final long serialVersionUID = 1L;

}